package Service.Impl;

import Bean.Manager;
import Dao.Impl.ManageDaoImpl;
import Dao.ManageDao;
import Service.ManageService;

public class ManageServiceImpl implements ManageService {
    ManageDao manageDao = new ManageDaoImpl();
    @Override
    public boolean LoginManage(Manager manager) {
        Manager manager1 = manageDao.LoginManager(manager.getUserName(), manager.getPassWord());
        if (manager1 == null){
            return false;
        }else {
            return true;
        }
    }
}
